let verify = (req, res,next) => {
  if (req.session.username) {
    next();
    return;
  }
  res.redirect("/login");
};
module.exports = verify;